import request from '@/utils/request'

// 查询用户签到信息列表
export function listSignIn(query) {
  return request({
    url: '/system/signIn/list',
    method: 'get',
    params: query
  })
}

// 查询用户签到信息详细
export function getSignIn(userSignInId) {
  return request({
    url: '/system/signIn/' + userSignInId,
    method: 'get'
  })
}

// 新增用户签到信息
export function addSignIn(data) {
  return request({
    url: '/system/signIn',
    method: 'post',
    data: data
  })
}

// 修改用户签到信息
export function updateSignIn(data) {
  return request({
    url: '/system/signIn',
    method: 'put',
    data: data
  })
}

// 删除用户签到信息
export function delSignIn(userSignInId) {
  return request({
    url: '/system/signIn/' + userSignInId,
    method: 'delete'
  })
}
